
#ifndef UPDATE_UNZIP_THREAD_H
#define UPDATE_UNZIP_THREAD_H

#include <QThread>

class UnZipThread : public QThread
{
Q_OBJECT
public:
    static UnZipThread & instance();
    ~UnZipThread() override;
    void run() override;
    void setName(const QString &name);

signals:
    void sig_unzipFinished(const bool &isOk);

protected:
    explicit UnZipThread(QObject *parent = nullptr);

private:
    QString current_name_{};
};

#endif //UPDATE_UNZIP_THREAD_H
